package pt.isec.gpsgroup5.moneybox;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}
	
	public void onListObjective(View v) {
		Intent intent = new Intent(this, ListObjective.class);
		startActivity(intent);
	}
	
	public void onNewObjective(View v){
		Intent intent = new Intent(this, NewObjective.class);
		startActivity(intent);
	}
	
	public void onEditObjective(View v) {
		Intent intent = new Intent(this, EditObjective.class);
		startActivity(intent);
	}
	
	public void onCashIn(View v) {
		Intent intent = new Intent(this, CheckIn.class);
		startActivity(intent);
	}

}
